if 'AArch64' not in config.root.targets:
    config.unsupported = True

flags = '--target=aarch64-pc-linux -nostartfiles -nostdlib -ffreestanding'

config.substitutions.insert(0, ('%cflags', f'%cflags {flags}'))
config.substitutions.insert(0, ('%cxxflags', f'%cxxflags {flags}'))
